package com.cskaoyan.bean.vo.wx.order;

import com.cskaoyan.config.order.WxOrderHandelOptionConfig;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: zhang
 * @Date: 2022/11/23 10:06
 * @Since: jdk1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderListVo {

    private String orderStatusText;
    private Integer aftersaleStatus;
    private boolean isGroupin;
    private String orderSn;
    private BigDecimal actualPrice;
    private Integer id;
    private WxOrderHandelOptionConfig handleOption;
    private List<GoodsListBean> goodsList=new ArrayList<>();


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class GoodsListBean {

        private Integer number;
        private String picUrl;
        private BigDecimal price;
        private Integer id;
        private String goodsName;
        private String[] specifications;

    }
}
